package com.wk.layouttest;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {
	
	private Button btn1;
	
	private Button btn2;
	
	private Button btn3;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        btn1=(Button)findViewById(R.id.btn1);
        btn1.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new Intent(MainActivity.this,LinearLayoutTestActivity.class);
				startActivity(intent);
			}
		});
        btn2=(Button)findViewById(R.id.btn2);
        btn2.setOnClickListener(new OnClickListener() {
        	@Override
        	public void onClick(View v) {
        		Intent intent=new Intent(MainActivity.this,RelativeLayoutTestActivity.class);
        		startActivity(intent);
        	}
        });
        
        btn3=(Button)findViewById(R.id.btn3);
        btn3.setOnClickListener(new OnClickListener() {
        	@Override
        	public void onClick(View v) {
        		Intent intent=new Intent(MainActivity.this,TabHostTestActivity.class);
        		startActivity(intent);
        	}
        });
    }
    

}
